package com.magi.core;

import com.magi.config.IDatabaseConfig;

import java.sql.SQLException;
import java.util.List;

public interface IDatabaseOperator {
    IDatabaseOperator getInstance(IDatabaseConfig config) throws ClassNotFoundException, SQLException;

    TableMetaData getTableMateData(String tableName) throws SQLException;

    List<TableMetaData> getAllTableMateData() throws SQLException;
}
